namespace gui
{
	public class Event : IEvent
	{
		public Event(IEvent parent, string id, bool isExpanded, bool isVisible, double stepNum, string source, string name,
		                 string description)
		{
			Parent = parent;
			Id = id;
			IsExpanded = isExpanded;
			IsVisible = isVisible;
            StepNum = stepNum;
            Source = Source;
			Name = name;
            Description = description;
		}

		public IEvent Parent { get; set; }

		public string Id { get; set; }
		public bool IsExpanded { get; set; }
		public bool IsVisible { get; set; }
        public double StepNum { get; set; }
        public string Source { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }

		public bool IsSubItem
		{
			get { return Parent != null; }
		}
	}
}